<?php namespace App\Core\Service\Listeners;

use App\Core\Service\Listener;

abstract class DetailListener extends Listener {
    
    protected $name = 'detail';
    
    //保存数据前，抛出异常"不会"导致数据库事务回滚
    public function onDetailBeforeGet(){}
    
    //保存数据后，抛出异常"不会"导致数据库事务回滚
    public function onDetailAfterGet(){}
}